<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <link type="text/css" rel="stylesheet" href="/static/css/style.css"/>	
    <link type="text/css" rel="stylesheet" href="/static/css/smoothness/jquery-ui-1.7.2.custom.css"/>	
    <link type="text/css" rel="stylesheet" href="/static/css/ui.stars.css"/>
    <script type="text/javascript" src="/static/js/jquery-1.3.2.min.js"></script>
    <script type="text/javascript" src="/static/js/jquery-ui-1.7.2.custom.min.js"></script>
    <script type="text/javascript" src="/static/js/ui.stars.js"></script>
    <script type="text/javascript" src="/static/js/jquery.simplemodal-1.3.3.min.js"></script>
    <script type="text/javascript" src="/static/js/movies.js"></script>
    <title>{% block title %}Home{% endblock %} - MustSeeMovies.org</title>
</head>

<body>
    <div id="title">MustSeeMovies.org</div>
    <div id="rightside">
        <div id="login"> 
        {% if username %} 
            hello, {{username}} <a href="{{ url }}">logout</a> 
        {% endif %}    
        </div>
        <div id="menu">
            <a href="/">List</a>
            {% if username %} 
                <a href="/profile">Profile</a>
                <a href="javascript:AddMovieForm()">Add Movie</a>
            {% else %}
                <a href="{{ url }}">Login</a> 
            {% endif %}  
        </div>
    </div>
    <div id="content">
        {% block content %}{% endblock %}
    </div>
    <div id="footer">
        <a href="http://code.google.com/p/mustseemovies/">contribute</a>
    </div>
    <script type="text/javascript">
	    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
	    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <script type="text/javascript">
	try {
	    var pageTracker = _gat._getTracker("UA-12231063-2");
	    pageTracker._trackPageview();
	    } catch(err) {}
    </script> 
</body>
</html>

